You are here:
Symbol Reference >
Dew Namespace
>
Dew.Math Namespace
>
Classes
>
MatrixInt Structure
>
MatrixInt Methods
>
Find Method
>
MatrixInt.Find Method ([In] int)
Dew Math for .NET
Example
MatrixInt.Find Method ([In] int)
using
Dew.Math
;
using
Dew.Math.Units
;
namespace
Dew.Examples() {
void
Example() {
TMtxInt
a; MtxVecInt.CreateIt(
out
a);
try
{ a.SetIt(
false
,
new
int
[] {2,5,1,6});
int
indes = a.Find(1);
// returns 2 (the arrays are zero based)
}
finally
{ MtxVecInt.FreeIt(
ref
a); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
Contents
|
Index
|
Home